﻿namespace Microsoft.Win32.IOCTL
{
    using System;

    public enum DEVICE_TYPE : uint
    {
        FILE_DEVICE_8042_PORT = 0x27,
        FILE_DEVICE_ACPI = 50,
        FILE_DEVICE_BATTERY = 0x29,
        FILE_DEVICE_BEEP = 1,
        FILE_DEVICE_BUS_EXTENDER = 0x2a,
        FILE_DEVICE_CD_ROM = 2,
        FILE_DEVICE_CD_ROM_FILE_SYSTEM = 3,
        FILE_DEVICE_CHANGER = 0x30,
        FILE_DEVICE_CONTROLLER = 4,
        FILE_DEVICE_DATALINK = 5,
        FILE_DEVICE_DFS = 6,
        FILE_DEVICE_DFS_FILE_SYSTEM = 0x35,
        FILE_DEVICE_DFS_VOLUME = 0x36,
        FILE_DEVICE_DISK = 7,
        FILE_DEVICE_DISK_FILE_SYSTEM = 8,
        FILE_DEVICE_DVD = 0x33,
        FILE_DEVICE_FILE_SYSTEM = 9,
        FILE_DEVICE_FIPS = 0x3a,
        FILE_DEVICE_FULLSCREEN_VIDEO = 0x34,
        FILE_DEVICE_INFINIBAND = 0x3b,
        FILE_DEVICE_INPORT_PORT = 10,
        FILE_DEVICE_KEYBOARD = 11,
        FILE_DEVICE_KS = 0x2f,
        FILE_DEVICE_KSEC = 0x39,
        FILE_DEVICE_MAILSLOT = 12,
        FILE_DEVICE_MASS_STORAGE = 0x2d,
        FILE_DEVICE_MIDI_IN = 13,
        FILE_DEVICE_MIDI_OUT = 14,
        FILE_DEVICE_MODEM = 0x2b,
        FILE_DEVICE_MOUSE = 15,
        FILE_DEVICE_MULTI_UNC_PROVIDER = 0x10,
        FILE_DEVICE_NAMED_PIPE = 0x11,
        FILE_DEVICE_NETWORK = 0x12,
        FILE_DEVICE_NETWORK_BROWSER = 0x13,
        FILE_DEVICE_NETWORK_FILE_SYSTEM = 20,
        FILE_DEVICE_NETWORK_REDIRECTOR = 40,
        FILE_DEVICE_NULL = 0x15,
        FILE_DEVICE_PARALLEL_PORT = 0x16,
        FILE_DEVICE_PHYSICAL_NETCARD = 0x17,
        FILE_DEVICE_PRINTER = 0x18,
        FILE_DEVICE_SCANNER = 0x19,
        FILE_DEVICE_SCREEN = 0x1c,
        FILE_DEVICE_SERENUM = 0x37,
        FILE_DEVICE_SERIAL_MOUSE_PORT = 0x1a,
        FILE_DEVICE_SERIAL_PORT = 0x1b,
        FILE_DEVICE_SMARTCARD = 0x31,
        FILE_DEVICE_SMB = 0x2e,
        FILE_DEVICE_SOUND = 0x1d,
        FILE_DEVICE_STREAMS = 30,
        FILE_DEVICE_TAPE = 0x1f,
        FILE_DEVICE_TAPE_FILE_SYSTEM = 0x20,
        FILE_DEVICE_TERMSRV = 0x38,
        FILE_DEVICE_TRANSPORT = 0x21,
        FILE_DEVICE_UNKNOWN = 0x22,
        FILE_DEVICE_VDM = 0x2c,
        FILE_DEVICE_VIDEO = 0x23,
        FILE_DEVICE_VIRTUAL_DISK = 0x24,
        FILE_DEVICE_WAVE_IN = 0x25,
        FILE_DEVICE_WAVE_OUT = 0x26
    }
}

